<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
    <link href="../../vendors/iview/css/iview.css" rel="stylesheet"/>
    <link href="../../styles/common.css" rel="stylesheet"/>
    <link href="../../styles/housingManagement.css" rel="stylesheet"/>
    <link rel="stylesheet" href="../../vendors/quill/vue-quill-editor.css">
    <link href="../../components/amap-polygon/markers.css" rel="stylesheet"/>
</head>
<body>
<!--===================================html页面-->
<div class="content-box housingManagement" id="app" v-cloak>
    <Tabs value="name1" :animated="false">
        <Tab-pane label="所有房源" name="name1">

            <all-table-pannel></all-table-pannel>

        </Tab-pane>
        <Tab-pane label="小区楼盘" name="name2">
            <village-table-pannel></village-table-pannel>
        </Tab-pane>
        <Tab-pane label="自建民宅" name="name3">

            <private-table-pannel></private-table-pannel>

        </Tab-pane>
        <Tab-pane label="工地厂房" name="name4">
            <workshop-table-pannel></workshop-table-pannel>
        </Tab-pane>
        <Tab-pane label="土地" name="name5">
            <land-table-pannel></land-table-pannel>
        </Tab-pane>
    </Tabs>
    <div class="housingManagement-right">
        <screen-pannel></screen-pannel>
    </div>

</div>


<!--组件:筛选条件和地图找房 的模板开始-->
<script type="text/x-template" id="screen-pannel-template" v-cloak>
    <div class="housingManagement-right-box">
        <div class="screeningCondition">
            <strong class="screen screen-input">
                <i-select placeholder="筛选条件" v-model="screeningCondition">
                    <i-option v-for="item in condition"  :key="item.value" :value="item.value">{{item.label}}
                    </i-option>
                </i-select>
            </strong>
        </div>
        <a href="javascript:;" class="map-findRoom">城市地图</a>
    </div>
</script>


<!--==============================================================-->
<!--组件:所有房源表格模板开始-->
<script type="text/x-template" id="all-table-pannel-template" v-cloak>
    <div>
        <div>
            <div class="search-box">
                <div class="search-criteria">
                    <strong>房源类别：</strong>
                    <strong class="housing-resources search-input">
                        <i-select placeholder="住宅" v-model="housingResources">
                            <i-option v-for="item in resources"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>房源区域：</strong>
                    <strong class="housing-area search-input">
                        <i-select placeholder="海口市" v-model="housingArea">
                            <i-option v-for="item in area"  :key="item.value" :value="item.value">{{item.label}}</i-option>
                        </i-select>
                    </strong>
                    <strong>售价范围：</strong>
                    <strong class="price-range search-input">
                        <i-select placeholder="不限" v-model="priceRange">
                            <i-option v-for="item in range"  :key="item.value" :value="item.value">{{item.label}}</i-option>
                        </i-select>
                    </strong>
                    <strong>面积范围：</strong>
                    <strong class="area-scope search-input">
                        <i-select placeholder="不限" v-model="areaScope">
                            <i-option v-for="item in scope"  :key="item.value" :value="item.value">{{item.label}}</i-option>
                        </i-select>
                    </strong>
                    <strong>特藏属性：</strong>
                    <strong class="attribute search-input">
                        <i-select placeholder="不限" v-model="attribute">
                            <i-option v-for="item in attributeM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <div class="search-frame"><span>　关键字：</span><input type="text" v-model="keyword"
                                                                       class="input-box"
                                                                       placeholder="输入手机、姓名、客户来源">
                        <input type="button" class="search-bnt" :click="search" value="搜索">
                    </div>
                </div>
            </div>
            <div class="bnt-box clearfix">
                <dl>
                    <dd type="primary" @click="showAddHouse" class="AddClient"><i></i>添加房源</dd>
                    <dd type="primary" class="private-collection"><i></i>私藏房源</dd>
                    <dd type="primary" class="submit"><i></i>提交审核</dd>
                    <dd type="primary" class="export"><i></i>导出Excel</dd>
                </dl>
                <div class="c-sort">
                    <strong class="state-input">
                        <i-select v-model="defaultSort" placeholder="默认排序">
                            <i-option v-for="item in sort" :key="item.value" :value="item.value" >{{
                                item.label }}
                            </i-option>
                        </i-select>
                    </strong>
                </div>
            </div>
            <div class="screened">
                <strong>已筛选条件：</strong>
                <span>{{housingResources}}<i></i></span>
                <span>{{housingArea}}<i></i></span>
                <span>{{priceRange}}<i></i></span>
                <span>{{areaScope}}<i></i></span>
                <span>{{attribute}}<i></i></span>
            </div>
        </div>
        <div class="listings-box all">
            <i-table :columns="columnsList" :data="listTableData" ref="table"></i-table>

            <garden-modal v-model="gardenShow" @on-add="onAdd" @on-edit="onEdit" :garden-info="objInfo"
                          :show-type="showType" :map-id="gardenAmapId"></garden-modal>

            <private-residence-modal v-model="privateShow" @on-add="onAdd" @on-edit="onEdit"
                                     :private-home-info="objInfo" :map-id="privateMapId" :show-type="showType"
                                     :add-map-id="privateAddMapId"></private-residence-modal>

            <workshop-modal v-model="workshopShow" :workshop-info="objInfo" @on-add="onAdd" @on-edit="onEdit"
                            :map-id="workshopMapId" :show-type="showType" :add-map-id="workshopAddMapId"></workshop-modal>

            <land-modal v-model="landShow" @on-add="onAdd" @on-edit="onEdit" :land-info="objInfo" :show-type="showType"
                        :map-id="landAmapId" :add-map-id="landAddMapId"></land-modal>


            <!-- 分页-->
            <paging ref="paging" :index="0" :total-rows="totalRows" @search-data="getSearchData" :page-rows="pageSize"
                    current-page="1"></paging>
        </div>
        <Modal
            title="删除房源"
            v-model="deletePos"
            width="360"
            :mask-closable="false"
            class-name="vertical-center-modal deleteWrap"
            ok-text="确认"
            @on-ok="handleSuccessDel">
            <div class="delete-position">
                <ul class="delete-ul">
                    <h3 class="warning">确认将该房源删除吗？</h3>
                </ul>
            </div>
        </Modal>
    </div>
</script>

<!--组件:小区楼盘表格模板开始-->
<script type="text/x-template" id="village-table-pannel-template" v-cloak>
    <div>
        <div>
            <div class="search-box">
                <div class="search-criteria">
                    <strong>房源类别：</strong>
                    <strong class="housing-resources search-input">
                        <i-select placeholder="住宅" v-model="housingResources">
                            <i-option v-for="item in resources"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>房源区域：</strong>
                    <strong class="housing-area search-input">
                        <i-select placeholder="海口市" v-model="housingArea">
                            <i-option v-for="item in area"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>售价范围：</strong>
                    <strong class="price-range search-input">
                        <i-select placeholder="不限" v-model="priceRange">
                            <i-option v-for="item in range"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>面积范围：</strong>
                    <strong class="area-scope search-input">
                        <i-select placeholder="不限" v-model="areaScope">
                            <i-option v-for="item in scope"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>房源户型：</strong>
                    <strong class="housing-units search-input">
                        <i-select placeholder="不限" v-model="housingUnits">
                            <i-option v-for="item in units"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                </div>
                <div class="search-criteria">
                    <strong>　　房龄：</strong>
                    <strong class="age search-input">
                        <i-select placeholder="不限" v-model="age">
                            <i-option v-for="item in ageM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>特藏属性：</strong>
                    <strong class="attribute search-input">
                        <i-select placeholder="不限" v-model="attribute">
                            <i-option v-for="item in attributeM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>

                    <strong>装修等级：</strong>
                    <strong class="renovation search-input">
                        <i-select placeholder="不限" v-model="renovation">
                            <i-option v-for="item in renovationM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <div class="search-frame"><span>　关键字：</span><input type="text" v-model="keyword"
                                                                       class="input-box"
                                                                       placeholder="输入手机、姓名、客户来源">
                        <input type="button" class="search-bnt" @click="search" value="搜索">
                    </div>
                </div>
            </div>
            <div class="bnt-box clearfix">
                <dl>
                    <dd type="primary" @click="showAddHouse" class="AddClient"><i></i>添加房源</dd>
                    <dd type="primary" class="private-collection"><i></i>私藏房源</dd>
                    <dd type="primary" class="submit"><i></i>提交审核</dd>
                    <dd type="primary" class="export"><i></i>导出Excel</dd>
                </dl>
                <div class="c-sort">
                    <strong class="state-input">
                        <i-select v-model="defaultSort" placeholder="默认排序">
                            <i-option v-for="item in sort" :key="item.value" :value="item.value" >{{
                                item.label }}
                            </i-option>
                        </i-select>
                    </strong>
                </div>
            </div>
            <div class="screened">
                <strong>已筛选条件：</strong>
                <span>{{housingResources}}<i></i></span>
                <span>{{housingArea}}<i></i></span>
                <span>{{priceRange}}<i></i></span>
                <span>{{areaScope}}<i></i></span>
                <span>{{attribute}}<i></i></span>
            </div>
        </div>
        <div class="listings-box village">
            <i-table :columns="columnsList" :data="listTableData" ref="table"></i-table>
            <garden-modal v-model="show" @on-add="addGarden" @on-edit="editGarden" :garden-info="gardenInfo"
                          :show-type="showType" :map-id="amapId" :add-map-id="addHouseAmapId"></garden-modal>

            <!-- 分页-->
            <paging ref="paging" :index="1" :total-rows="totalRows" @search-data="getSearchData" :page-rows="pageSize"
                    current-page="1"></paging>

        </div>
        <!--删除职位弹框-->
        <Modal
            title="删除房源"
            v-model="deletePos"
            width="360"
            :mask-closable="false"
            class-name="vertical-center-modal deleteWrap"
            ok-text="确认"
            @on-ok="handleSuccessDel">
            <div class="delete-position">
                <ul class="delete-ul">
                    <h3 class="warning">确认将该房源删除吗？</h3>
                </ul>
            </div>
        </Modal>
    </div>
</script>

<!--组件:自建民宅表格模板开始-->
<script type="text/x-template" id="private-table-pannel-template" v-cloak2>
    <div>
        <div>
            <div class="search-box">
                <div class="search-criteria">
                    <strong>房源类别：</strong>
                    <strong class="housing-resources search-input">
                        <i-select placeholder="住宅" v-model="housingResources">
                            <i-option v-for="item in resources"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>房源区域：</strong>
                    <strong class="housing-area search-input">
                        <i-select placeholder="海口市" v-model="housingArea">
                            <i-option v-for="item in area"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>售价范围：</strong>
                    <strong class="price-range search-input">
                        <i-select placeholder="不限" v-model="priceRange">
                            <i-option v-for="item in range"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>面积范围：</strong>
                    <strong class="area-scope search-input">
                        <i-select placeholder="不限" v-model="areaScope">
                            <i-option v-for="item in scope"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>房源户型：</strong>
                    <strong class="housing-units search-input">
                        <i-select placeholder="不限" v-model="housingUnits">
                            <i-option v-for="item in units"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                </div>
                <div class="search-criteria">
                    <strong>　　房龄：</strong>
                    <strong class="age search-input">
                        <i-select placeholder="不限" v-model="age">
                            <i-option v-for="item in ageM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>特藏属性：</strong>
                    <strong class="attribute search-input">
                        <i-select placeholder="不限" v-model="attribute">
                            <i-option v-for="item in attributeM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>

                    <strong>装修等级：</strong>
                    <strong class="renovation search-input">
                        <i-select placeholder="不限" v-model="renovation">
                            <i-option v-for="item in renovationM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>

                    <div class="search-frame"><span>　关键字：</span><input type="text" v-model="keyword"
                                                                       class="input-box"
                                                                       placeholder="输入手机、姓名、客户来源">
                        <input type="button" class="search-bnt" @click="search" value="搜索">
                    </div>
                </div>
            </div>
            <div class="bnt-box">
                <dl>
                    <dd type="primary" @click="showAddHouse" class="AddClient"><i></i>添加房源</dd>
                    <dd type="primary" class="private-collection"><i></i>私藏房源</dd>
                    <dd type="primary" class="submit"><i></i>提交审核</dd>
                    <dd type="primary" class="export"><i></i>导出Excel</dd>
                </dl>
                <div class="c-sort">
                    <strong class="state-input">
                        <i-select v-model="defaultSort" placeholder="默认排序">
                            <i-option v-for="item in sort" :key="item.value" :value="item.value" >{{
                                item.label }}
                            </i-option>
                        </i-select>
                    </strong>
                </div>
            </div>
            <div class="screened">
                <strong>已筛选条件：</strong>
                <span>{{housingResources}}<i></i></span>
                <span>{{housingArea}}<i></i></span>
                <span>{{priceRange}}<i></i></span>
                <span>{{areaScope}}<i></i></span>
                <span>{{housingUnits}}<i></i></span>
                <span>{{age}}<i></i></span>
                <span>{{attribute}}<i></i></span>
                <span>{{renovation}}<i></i></span>
            </div>
        </div>
        <div class="listings-box private">
            <i-table :columns="columnsList" :data="listTableData" ref="table"></i-table>
            <private-residence-modal v-model="show" @on-add="addPrivateHouse" @on-edit="editPrivateHouse"
                                     :private-home-info="privateHomeInfo" :map-id="mapId" :show-type="showType"
                                     :add-map-id="addMapId"></private-residence-modal>
            <!-- 分页-->
            <paging ref="paging" :index="2" :total-rows="totalRows" @search-data="getSearchData" :page-rows="pageSize"
                    current-page="1"></paging>
        </div>
        <Modal
            title="删除房源"
            v-model="deletePos"
            width="360"
            :mask-closable="false"
            class-name="vertical-center-modal deleteWrap"
            ok-text="确认"
            @on-ok="handleSuccessDel">
            <div class="delete-position">
                <ul class="delete-ul">
                    <h3 class="warning">确认将该房源删除吗？</h3>
                </ul>
            </div>
        </Modal>
    </div>
</script>

<!--组件:工地厂房表格模板开始-->
<script type="text/x-template" id="workshop-table-pannel-template" v-cloak>
    <div>
        <div>
            <div class="search-box">
                <div class="search-criteria">
                    <strong>房源类别：</strong>
                    <strong class="housing-resources search-input">
                        <i-select placeholder="住宅" v-model="housingResources">
                            <i-option v-for="item in resources"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>房源区域：</strong>
                    <strong class="housing-area search-input">
                        <i-select placeholder="海口市" v-model="housingArea">
                            <i-option v-for="item in area"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>售价范围：</strong>
                    <strong class="price-range search-input">
                        <i-select placeholder="不限" v-model="priceRange">
                            <i-option v-for="item in range"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>面积范围：</strong>
                    <strong class="area-scope search-input">
                        <i-select placeholder="不限" v-model="areaScope">
                            <i-option v-for="item in scope"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                    <strong>楼栋数：</strong>
                    <strong class="ban search-input">
                        <i-select placeholder="不限" v-model="ban">
                            <i-option v-for="item in banM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>
                </div>
                <div class="search-criteria">
                    <strong>特藏属性：</strong>
                    <strong class="attribute search-input">
                        <i-select placeholder="不限" v-model="attribute">
                            <i-option v-for="item in attributeM"  :key="item.value" :value="item.value">{{item.label}}
                            </i-option>
                        </i-select>
                    </strong>

                    <div class="search-frame"><span>　关键字：</span><input type="text" v-model="keyword"
                                                                       class="input-box"
                                                                       placeholder="输入手机、姓名、客户来源">
                        <input type="button" class="search-bnt" @click="search" value="搜索">
                    </div>
                </div>
            </div>
            <div class="bnt-box">
                <dl>
                    <dd type="primary" @click="showAddHouse" class="AddClient"><i></i>添加房源</dd>
                    <dd type="primary" class="private-collection"><i></i>私藏房源</dd>
                    <dd type="primary" class="submit"><i></i>提交审核</dd>
                    <dd type="primary" class="export"><i></i>导出Excel</dd>
                </dl>
                <div class="c-sort">
                    <strong class="state-input">
                        <i-select v-model="defaultSort" placeholder="默认排序">
                            <i-option v-for="item in sort" :key="item.value" :value="item.value" >{{
                                item.label }}
                            </i-option>
                        </i-select>
                    </strong>
                </div>
            </div>
            <div class="screened">
                <strong>已筛选条件：</strong>
                <span>{{housingResources}}<i></i></span>
                <span>{{housingArea}}<i></i></span>
                <span>{{priceRange}}<i></i></span>
                <span>{{areaScope}}<i></i></span>
                <span>{{ban}}<i></i></span>
                <span>{{attribute}}<i></i></span>
            </div>
        </div>
        <div class="listings-box workshop">
            <i-table :columns="columnsList" :data="listTableData" ref="table"></i-table>
            <workshop-modal v-model="show" :workshop-info="workshopInfo" @on-add="addWorkshop" @on-edit="editWorkshop"
                            :map-id="mapId" :show-type="showType" :add-map-id="addMapId"></workshop-modal>
            <!-- 分页-->
            <paging ref="paging" :index="3" :total-rows="totalRows" @search-data="getSearchData" :page-rows="pageSize"
                    current-page="1"></paging>
        </div>
        <!--删除职位弹框-->
        <Modal
            title="删除房源"
            v-model="deletePos"
            width="360"
            :mask-closable="false"
            class-name="vertical-center-modal deleteWrap"
            ok-text="确认"
            @on-ok="handleSuccessDel">
            <div class="delete-position">
                <ul class="delete-ul">
                    <h3 class="warning">确认将该房源删除吗？</h3>
                </ul>
            </div>
        </Modal>
    </div>
</script>

<!--组件:土地表格模板开始-->
<script type="text/x-template" id="land-table-pannel-template" v-cloak>
    <div class="clearfix">
        <div class="search-box">
            <div class="search-criteria">
                <strong>房源类别：</strong>
                <strong class="housing-resources search-input">
                    <i-select placeholder="住宅" v-model="housingResources">
                        <i-option v-for="item in resources"  :key="item.value" :value="item.value">{{item.label}}
                        </i-option>
                    </i-select>
                </strong>
                <strong>房源区域：</strong>
                <strong class="housing-area search-input">
                    <i-select placeholder="海口市" v-model="housingArea">
                        <i-option v-for="item in area"  :key="item.value" :value="item.value">{{item.label}}</i-option>
                    </i-select>
                </strong>
                <strong>售价范围：</strong>
                <strong class="price-range search-input">
                    <i-select placeholder="不限" v-model="priceRange">
                        <i-option v-for="item in range"  :key="item.value" :value="item.value">{{item.label}}
                        </i-option>
                    </i-select>
                </strong>
                <strong>面积范围：</strong>
                <strong class="area-scope search-input">
                    <i-select placeholder="不限" v-model="areaScope">
                        <i-option v-for="item in scope"  :key="item.value" :value="item.value">{{item.label}}
                        </i-option>
                    </i-select>
                </strong>
                <strong>使用年限：</strong>
                <strong class="life search-input">
                    <i-select placeholder="不限" v-model="life">
                        <i-option v-for="item in lifeM"  :key="item.value" :value="item.value">{{item.label}}
                        </i-option>
                    </i-select>
                </strong>
            </div>
            <div class="search-criteria">
                <strong>特藏属性：</strong>
                <strong class="attribute search-input">
                    <i-select placeholder="不限" v-model="attribute">
                        <i-option v-for="item in attributeM"  :key="item.value" :value="item.value">{{item.label}}
                        </i-option>
                    </i-select>
                </strong>

                <div class="search-frame"><span>　关键字：</span><input type="text" v-model="keyword"
                                                                   class="input-box"
                                                                   placeholder="输入手机、姓名、客户来源">
                    <input type="button" class="search-bnt" @click="search" value="搜索">
                </div>
            </div>
        </div>
        <div class="bnt-box">
            <dl>
                <dd type="primary" @click="showAddHouse" class="AddClient"><i></i>添加房源</dd>
                <dd type="primary" class="private-collection"><i></i>私藏房源</dd>
                <dd type="primary" class="submit"><i></i>提交审核</dd>
                <dd type="primary" class="export"><i></i>导出Excel</dd>
            </dl>
            <div class="c-sort">
                <strong class="state-input">
                    <i-select v-model="defaultSort" placeholder="默认排序">
                        <i-option v-for="item in sort" :key="item.value" :value="item.value" >{{ item.label
                            }}
                        </i-option>
                    </i-select>
                </strong>
            </div>
        </div>
        <div class="screened">
            <strong>已筛选条件：</strong>
            <span>{{housingResources}}<i></i></span>
            <span>{{housingArea}}<i></i></span>
            <span>{{priceRange}}<i></i></span>
            <span>{{areaScope}}<i></i></span>
            <span>{{life}}<i></i></span>
            <span>{{attribute}}<i></i></span>
        </div>
        <div class="listings-box land">
            <i-table :columns="columnsList" :data="listTableData" ref="table"></i-table>
            <land-modal v-model="show" @on-add="addLand" @on-edit="editLand" :land-info="landInfo" :show-type="showType"
                        :map-id="mapId" :add-map-id="addMapId"></land-modal>
        </div>
        <!-- 分页-->
        <paging ref="paging" :index="4" :total-rows="totalRows" @search-data="getSearchData" :page-rows="pageSize"
                current-page="1"></paging>
        <!--删除职位弹框-->
        <Modal
            title="删除房源"
            v-model="deletePos"
            width="360"
            :mask-closable="false"
            class-name="vertical-center-modal deleteWrap"
            ok-text="确认"
            @on-ok="handleSuccessDel">
            <div class="delete-position">
                <ul class="delete-ul">
                    <h3 class="warning">确认将该房源删除吗？</h3>
                </ul>
            </div>
        </Modal>
    </div>
</script>
<script src="../../vendors/require.js"></script>
<script>
    require.config({
        paths: {
            'jquery': '../../vendors/jquery',
            'vue': '../../vendors/vue/vue',
            'iview': '../../vendors/iview/js/iview',
            'vue-quill-editor': '../../vendors/quill/vue-quill-editor',
            'AMap':'http://webapi.amap.com/maps?v=1.3&key=16ade82e7c426a88517bd734efaa13fc&plugin=AMap.PlaceSearch',
            'edit-map':'../../components/amap-polygon/editMap',
            'get-current-time':'../../common/utils/getCurrentTime',
            'api': '../../api/api-config',
            'CryptoJS':'../../vendors/crypto-js',
            'call-back': 'component/employerReturn/callback',
            'plan-return-visit': 'component/employerReturn/planReturnVisit',
            'look-visit': 'component/employerReturn/lookVisit',
            'return-visit-plan-modal': 'component/return-visit-plan-modal',
            'resolution-time': '../../common/utils/resolution-time',
            'land-modal': 'component/land-modal',
            'garden-modal': 'component/garden-modal',
            'private-residence-modal': 'component/private-residence-modal',
            'workshop-modal': 'component/workshop-modal',
            'paging': '../../data/Paging',
            'index': 'index'
        },
        shim: {
            'AMap':{
                exports: 'AMap'
            }
        },
    });
    require(['index','AMap'], function (index, AMap) {

    });
</script>
</body>
</html>
